package com.acme.service;

import com.acme.domain.account.Account;
import com.acme.domain.account.SavingAccount;
import com.acme.domain.client.Client;
import com.acme.domain.client.Gender;

public class BankApplication {
    public static void main(String [] args){
        Client client1 = new Client("Nikolay", Gender.MALE);
        Client client2 = new Client("Nikolay", Gender.MALE);
        System.out.println(client1 == client2);
        System.out.println(client1.equals(client2));

        Account account = new SavingAccount(1, 100.5);
        client1.addAccount(account);
        System.out.println(client1);

        System.out.println(account.decimalValue());

    }
}
